package com.atguigu.jxc.service;

import com.atguigu.jxc.entity.Goods;
import com.atguigu.jxc.entity.Supplier;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Author zhmwi
 * @Date 2021/9/4
 * @Dersciption
 */
public interface SupplierService {

    //分页查询供应商
    PageInfo<Supplier> getSupplierList(Integer page, Integer rows, String supplierName);

    //新增供应商
    boolean save(Supplier supplier);

    //批量删除供应商
    boolean delete(String ids);

    //更新供应商
    Boolean update(Supplier supplier);

    //模糊查询供应商名称
    List<Supplier> getComboboxList(String q);
}
